import request from './request'

// 计协资源接口
export function getStudyData(parmars) {
    return request({
        url: '/allJxCloud',
        method: 'post',
        data: parmars
    })
}

export function insertStudyData(parmars) {
  return request({
      url: '/insertJxCloud',
      method: 'post',
      data: parmars
  })
}

export function getIndexData(parmars) {
  return request({
      url: '/allJxIndex',
      method: 'post',
      data: parmars
  })
}

// 留言接口
export function getMessageData(parmars) {
  return request({
      url: '/findMessageByDisplay',
      method: 'post',
      data: parmars
  })
}

export function insertMessageData(parmars) {
  return request({
      url: '/insertMessage',
      method: 'post',
      data: parmars
  })
}

//课表记录
export function findAllJxTimeTable(parmars) {
  return request({
      url: '/findAllJxTimeTable',
      method: 'post',
      data: parmars
  })
}
